{% extends "base.html" %}
{% load static %}
{% block title %}作品{% endblock %}

{% block css %}
<link rel="stylesheet" href="{% static 'css/search_product.css' %}">
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">

{% endblock %}

{% block content %}
<div class="container-fluid px-5 py-2">
    <!-- 任务栏 -->
    <div class="row taskbar">
        <div class="col-8">
        </div>
        <div class="col-4">
        </div>
    </div>
    <!-- 内容栏 -->
    <div class="row contentbar">  
        <!-- 左侧本地页 -->
        <div class="col-8 row contentbar-left">
            <!-- 数据栏 -->
            <div class="col-12 data">
                <!-- 数据分类 -->
                <div class="row">
                    <!-- 搜索框 -->
                    <div class="col-3 search">
                        <input type="text" id="search-box" placeholder="请输入作品名称" list="themelist"> 
                        <datalist id="themelist"></datalist>
                        <button type="submit" id="search-button"><img src="{% static 'img/搜索.png' %}" class="click-img"></button> 
                    </div>
                    <!-- 作品类型 -->
                    <div class="type col-5">
                        <button id="all" class="type-on">全部</button>
                        <button id="anime">动画</button> 
                        <button id="movie">电影</button> 
                        <button id="teleplay">电视剧</button> 
                        <button id="novel">小说</button> 
                    </div>
                </div>
                <br>
                <!-- 数据内容 -->
                <div class="scroll data-table">
                    <table id="table">
                        <thead>
                            <tr>
                                <th>系列</th>
                                <th>名称</th>
                                <th>类型</th>
                                <th>形式</th>
                                <th>开播时间</th>
                                <th>集数/字数</th>
                                <th>制作方</th>
                                <th>导演/作者</th>
                            </tr>
                        </thead>
                        <tbody>
                        </tbody> 
                    </table>
                </div>
                
            </div>
        </div>
        <!-- 右侧详情页 -->
        <div class="form-info col-4">
            <div class="button-add">
                <a id="button-add" href="/noinfo/add_product/" target="update-iframe">新增记录</a>
            </div> 
            <div class="iframe">
                <iframe id="iframe" src="/noinfo/add_product/" name="update-iframe" height="100%" width="100%" scrolling="no"></iframe>
            </div>
            
        </div>
    </div>
</div>

<script src="{% static 'js/search_product.js' %}"></script>


{% endblock %}